package com.bootcamp.java;

/**
 * @program: code
 * @description: test java method overload
 * @author: Keyu li
 * @create: 2021-08-24 19:37
 **/

public class testMehodOverload {
    public static void main(String[] args) {
        int a = getSum(1, 10);
    }

    private static int getSum(int a, int b) {
        return 0;
    }

//    //change the modifier list
//    public static int getSum(int a, int b) {
//        return 0;
//    }

//    // change the formal parameter name.
//    private static int getSum(int aa, int bb) {
//        return 0;
//    }

//    // change the return type.
//    private static double getSum(int a, int b) {
//        return 0;
//    }

}
